package com.ruoyi.consumer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账户表对象 tb_account
 * 
 * @author ruoyi
 * @date 2020-05-25
 */
public class Account extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    
    /** 账户ID */
    private String accountId;
    
    /** 开卡银行 */
    private String bank;
    
    /** 卡号 */
    private String bankCode;
    
    /** 持卡人 */
    private String cardHolder;
    
    /** 用户 */
    private String consumerId;
    
    /** null */
    private String filePath;
    
    /** 0未认证 1已认证 2认证失败 */
    @Excel(name = "0未认证   1已认证   2认证失败")
    private Long status;
    
    /** null */
    @Excel(name = "null")
    private String idCode;
    
    /** null */
    private String idName;
    
    public Account()
    {
    }
    
    public Account(String uuid_32,String consumerId, String filePath,String trueName,String idCode, String bankCode, String bankAdr)
    {
        this.accountId = uuid_32;
        this.bank = bankAdr;
        this.bankCode = bankCode;
        this.idName = trueName;
        this.idCode = idCode;
        this.consumerId = consumerId;
        this.filePath = filePath;
    }
    
    public void setAccountId(String accountId)
    {
        this.accountId = accountId;
    }
    
    public String getAccountId()
    {
        return accountId;
    }
    
    public void setBank(String bank)
    {
        this.bank = bank;
    }
    
    public String getBank()
    {
        return bank;
    }
    
    public void setBankCode(String bankCode)
    {
        this.bankCode = bankCode;
    }
    
    public String getBankCode()
    {
        return bankCode;
    }
    
    public void setCardHolder(String cardHolder)
    {
        this.cardHolder = cardHolder;
    }
    
    public String getCardHolder()
    {
        return cardHolder;
    }
    
    public void setConsumerId(String consumerId)
    {
        this.consumerId = consumerId;
    }
    
    public String getConsumerId()
    {
        return consumerId;
    }
    
    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }
    
    public String getFilePath()
    {
        return filePath;
    }
    
    public void setStatus(Long status)
    {
        this.status = status;
    }
    
    public Long getStatus()
    {
        return status;
    }
    
    public void setIdCode(String idCode)
    {
        this.idCode = idCode;
    }
    
    public String getIdCode()
    {
        return idCode;
    }
    
    public void setIdName(String idName)
    {
        this.idName = idName;
    }
    
    public String getIdName()
    {
        return idName;
    }
    
    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("accountId", getAccountId())
            .append("bank", getBank())
            .append("bankCode", getBankCode())
            .append("cardHolder", getCardHolder())
            .append("consumerId", getConsumerId())
            .append("filePath", getFilePath())
            .append("status", getStatus())
            .append("idCode", getIdCode())
            .append("idName", getIdName())
            .toString();
    }
}
